import { getPurchaseData } from '@/api/reportData.js'
export default {
  namespaced: true, // 封闭
  state: {},
  mutations: {},
  getters: {},
  actions: {
    async getPurchaseData(context, payload) {
      try {
        const { data } = await getPurchaseData(payload)
       // console.log(data)
        return data
      } catch (err) {
        console.log(err)
      }
    },
  }
}